<div id="user">
	<ul>
		<li>
			<span><?php echo $this->user->name; ?></span>
		</li>
		<?php if( $this->user->id !== 0 ): ?>
			<li>
				<a href="<?php echo SITE_ADDRESS.'/admin-user/profile/' ?>">Profile</a>
			</li>
			<li>
				<a href="<?php echo SITE_ADDRESS.'/admin-auth/logout/' ?>">Logout</a>
			</li>
		<?php else: ?>
			<li>
				<a href="<?php echo SITE_ADDRESS.'/admin-auth/login/' ?>">Login</a>
			</li>
		<?php endif; ?>
	</ul>
</div>